<div class="coin-gauche">
  <div class="coin-droit-nomarge" style="height:auto; width:575px;">
    <h1>Edition du compte</h1>
    <div id="mysoprema">
    {if isset($modfis)}<p style="color:red">Modifications effectuées</p>{/if}
    <p>* : champ obligatoire</p>
    <form name="edition" action="" method="POST" >
      <table class="con-form">
        <tr>
          <td><label for="form_label_login">Login : </label></td>
          <td><strong>{$user->getLogin()}</strong></td>
        </tr>
        <tr>
          <td><label for="form_label_civilite">Civilité : </label></td>
          <td>
            <select name="edition[civilite]" id="form_label_civilite" >
              <option value="M" {if $user->getGender() == "M"}selected="selected"{/if}>M</option>
              <option value="Mme" {if $user->getGender() == "Mme"}selected="selected"{/if}>Mme</option>
              <option value="Mlle" {if $user->getGender() == "Mlle"}selected="selected"{/if}>Mlle</option>
            </select>
         </td>
        </tr>
        <tr>
          <td><label for="form_label_nom">Nom * : </label></td>
          <td>
                <input type="text" id="form_label_nom" name="edition[nom]" value="{$user->getFirstname()}" />
                {if isset($errors.nom)}<div class="error">{$errors.nom}</div>{/if}
          </td>
        </tr>
        <tr>
          <td><label for="form_label_prenom">Prénom * : </label></td>
          <td>
                <input type="text" id="form_label_prenom" name="edition[prenom]" value="{$user->getLastname()}" />
                {if isset($errors.prenom)}<div class="error">{$errors.prenom}</div>{/if}
          </td>
        </tr>
        <tr>
          <td><label for="form_label_telephone">Numéro de téléphone * : </label></td>
          <td>
              <input type="text" id="form_label_telephone" name="edition[telephone]" value="{$user->getPhoneNumber()}" />
              {if isset($errors.telephone)}<div class="error">{$errors.telephone}</div>{/if}
          </td>
        </tr>
        <tr>
          <td><label for="form_label_portable">Numéro de portable : </label></td>
          <td><input type="text" id="form_label_portable" name="edition[portable]" value="{$user->getMobilePhoneNumber()}" /></td>
        </tr>
        <tr>
          <td><label for="form_label_fax">Fax : </label></td>
          <td><input type="text" id="form_label_fax" name="edition[fax]" value="{$user->getFax()}" /></td>
        </tr>
        <tr>
          <td><label for="form_label_mail">Mail * : </label></td>
          <td>
                <input type="text" id="form_label_mail" name="edition[mail]" value="{$user->getEmail()}" />
                {if isset($errors.mail)}<div class="error">{$errors.mail}</div>{/if}
          </td>
        </tr>
        <tr>
          <td><label for="form_label_adresse">Adresse * : </label></td>
          <td>
                <input type="text" id="form_label_adresse" name="edition[adresse]" value="{$user->getAddress()}" />
                {if isset($errors.adresse)}<div class="error">{$errors.adresse}</div>{/if}
          </td>
         </tr>
         <tr>
           <td><label for="form_label_cp">Code postal * : </label></td>
           <td>
                <input type="text" id="form_label_cp" name="edition[cp]" value="{$user->getZip()}" />
                {if isset($errors.cp)}<div class="error">{$errors.cp}</div>{/if}
           </td>
         </tr>
         <tr>
           <td><label for="form_label_ville">Ville * : </label></td>
           <td>
                <input type="text" id="form_label_ville" name="edition[ville]" value="{$user->getTown()}" />
                {if isset($errors.ville)}<div class="error">{$errors.ville}</div>{/if}
           </td>
         </tr>
{if $user->getActivity() != 178 && $user->getActivity() != null}
        <tr>
          <td><label for="form_label_societe">Société * : </label></td>
          <td>
                 <input type="text" id="form_label_societe" name="edition[societe]" value="{$user->getFirm()}" />
                {if isset($errors.societe)}<div class="error">{$errors.societe}</div>{/if}
          </td>
        </tr>
        <tr>
          <td><label for="form_label_raison_sociale">Raison sociale * : </label></td>
          <td>
                <input type="text" id="form_label_raison_sociale" name="edition[raison_sociale]" value="{$user->getSocial()}" />
                {if isset($errors.raison_sociale)}<div class="error">{$errors.raison_sociale}</div>{/if}
          </td>
        </tr>
        <tr>
          <td><label for="form_label_siret">SIRET * : </label></td>
          <td>
              <input type="text" id="form_label_siret" name="edition[siret]" value="{$user->getSiret()}" />
              {if isset($errors.siret)}<div class="error">{$errors.siret}</div>{/if}
          </td>
        </tr>
        
        <tr>
          <td><label for="form_label_fonction">Fonction dans l'entreprise * : </label></td>
          <td>
                <input type="text" id="form_label_fonction" name="edition[fonction]" value="{$user->getFunction()}" />
                {if isset($errors.fonction)}<div class="error">{$errors.fonction}</div>{/if}
          </td>
        </tr>
{/if}
        <tr>
          <td><label for="form_label_password">Mot de passe * : </label></td>
          <td>
                <input id="form_label_password" type="password" name="edition[password]" value="" />
                {if isset($errors.password)}<div class="error">{$errors.password}</div>{/if}
          </td>
        </tr>
        <tr>
          <td><label for="form_label_password2">Ressaisir votre mot de passe * : </label></td>
          <td><input id="form_label_password2" type="password" name="edition[password2]" value="" /></td>
        </tr>
        <tr>
          <td colspan="2"><label>Cochez la case ci-dessous pour vous abonner et recevoir régulièrement par mail notre lettre d'information</label></td>
        </tr>
        <tr>
          <td><label for="form_label_newsletter">Newsletter : </label></td>
          <td><input id="form_label_newsletter" type="checkbox" class="checkbox" name="edition[newsletter]" {if $user->isNewsletter() == 1}checked="checked"{/if} /></td>
        </tr>
        <tr>
          <td colspan="2"><p>Conformément à la Loi Informatique et Libertés du 6 Janvier 1978, vous disposez d'un droit d'accès et de rectification des données vous concernant. (<a href="http://www.legifrance.gouv.fr/affichTexte.do?cidTexte=LEGITEXT000006068624&dateTexte=vig" target="_blank">En savoir plus</a>)</p></td>
        </tr>
        <tr>
          <td></td>
          <td><input type="submit" name="edition[submit]"  class="contact-submit" value="Envoyer" /></td>
        </tr>
        </table>
    </form>
    </div>
  </div>
</div><div class="clear" ></div>
